// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package me.croute.googleapi.common;

import android.content.Context;
import android.content.res.Configuration;
import android.content.res.Resources;
import java.util.Locale;
import java.util.ResourceBundle;

public final class GoogleCommonType_T
{

    public GoogleCommonType_T(Context context)
    {
        mContext = context;
    }

    private ResourceBundle getResourceBundle()
    {
        Locale locale;
        if(mContext.getResources() != null && mContext.getResources().getConfiguration() != null && mContext.getResources().getConfiguration().locale != null)
            locale = mContext.getResources().getConfiguration().locale;
        else
            locale = Locale.getDefault();
        ResourceBundle resourcebundle = ResourceBundle.getBundle("com.google.android.gms.common.strings.GmsStrings", locale, mContext.getClassLoader());
        return resourcebundle;
    }

    public String getString(String s)
    {
        ResourceBundle resourcebundle = getResourceBundle();
        if(resourcebundle != null)
            return resourcebundle.getString(s);
        else
            return "";
    }

    private final Context mContext;
}
